import request from '@/utils/request'

export function getNcCodeVoList(data) {
  return request({
    url: `/md/ncGroups/getNcCodeVoList`,
    method: 'get',
    params: data
  })
}

export function getOperationList() {
  return request({
    url: `/md/ncGroups/getOperationList`,
    method: 'get'
  })
}

export function query(data) {
  return request({
    url: `/md/ncGroups/query`,
    method: 'get',
    params: data
  })
}

export function save(data) {
  return request({
    url: `/md/ncGroups/save`,
    method: 'post',
    data: data
  })
}

export function delet(data) {
  return request({
    url: `/md/ncGroups/delete`,
    method: 'get',
    params: data
  })
}
